*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.wh{
      width: 100%;
    height: 100%;
}
html,body{
  .wh;
// font-family: "汉仪悠然体简";
 background-color: #F6F6F6;
// overflow: hidden;
}
ul,ol{
    list-style: none;
}
h1{
  text-align: center;
  margin: 60px 0;
  display: none;
}

#searchDiv {
    .wh;
   
    height: 52px;
    position: fixed;
    top:calc(50% - 20px);
    display: none;
    padding-top: 5px;
    z-index: 1000;
   div{
//  background-color: lightblue;
    .wh;
    position: relative;
  
    .ip{
        width: 30px;
        position: relative;
        border: 1px solid #ccc;
       
        height: 41px;
        line-height: 41px;
        margin: 0 auto;
        padding-right: 41px;
        border-radius: 20px;
        padding-left: 15px;
//      padding-bottom: 5px;
        
        input{
            display: inline-block;
            border:none;
            position: absolute;
            width: 190px;
            bottom: 3px;
            z-index: 800;
//          border-right-color: #ccc;            
        }
        a{
            position: absolute;
            width: 35px;
            height: 35px;
            right: 3px;
            top: 2px;
            text-align: center;
            line-height: 35px;
            border-radius:50%;
            background-color: lightblue;
            color: white;
            z-index: 900;
            &:hover{
                background-color:#836FFF;
                
                transition: background-color  1s linear ; 
            }
        }
        
    }
    ul {
//      position: absolute;
        display: none;
        box-shadow: 0 5px 5px #CCCCCC;
        width: 220px;
//      left: 10%;
        margin: 0 auto;
        li{
            
            a{
            text-align: left;
            border:none;
            border-bottom: 1px solid #999;
            color: #333;
            line-height: 30px;
            padding-left: 10px;
            &:hover{
                text-decoration: none;
            }
            span{
                margin-top: 5px;
                margin-right: 10px;
                }
            }
        }
    }
}
}
.search-content {
    width: 96%;
   margin: 57px auto 0;
}

.section {
    width: 100%;
    
    background-color: white;
    margin: 5px 5px 5px 0 ;
    padding: 5px 5px 5px 10px;
    h2{
        font-size: 20px;
    }
    p{
        width: 100%;
        word-wrap: break-word;
    }
}

.shortcutBtn{
    width: 100%;
    position: fixed;
    bottom:150px;
    
    z-index: 1000;
    div{
        width: 70px;
        margin: 0 auto;
//      border: 1px solid;
          span{
               display: block;
               margin-left: 10px;               
               text-shadow:3px 0 3px #ccc ;
               font-size: 20px;             
               &:hover{
                   cursor: pointer;
               }
         }
         span:nth-of-type(1){
             margin-bottom: 50px;
         }
    }
  
}

#nav{
    position:fixed;
    bottom:45px;
    z-index: 1000;
}
.authorPhoto{
    width: 50px;
    height: 50px; 
    
}
#data-content{
    width: 100%;   
//  margin-top: 10px;
     height: 100%;
     overflow: scroll;
     margin-bottom: 0;
     margin-top: 50px;
    .messageCon{
        width: 100%;
        display: flex;
        min-height: 100px;
        .author{
            flex-basis: 20%;
//          background-color:lightgreen ;
            padding: 5px;
            .authorPhoto{
                width: 40px;
                 height: 40px;
                 display: block;
                 margin: 0 auto;
            }
            p{
                width: 100%;
                text-align: center;
            }
        }
        .message{
            flex-basis: 80%;
//          background-color: lightpink; 
            overflow-wrap: break-word;  
            overflow: hidden;  
        }
    }
    .listFooter{
        width: 100%;
        height: 20px;
        line-height: 20px;
        
    }
    li{
        border-bottom: 1px solid lightgrey;
        padding:10px 20px;
        box-sizing: border-box;
      
    }
    li:nth-of-type(2n+1){
          border-bottom-left-radius:20px ;
        border-bottom-right-radius:20px ;
    }
    li:nth-of-type(2n){
        border-radius: 20px 20px 0 0;
    }
}
.loading{
    .wh;  
    height: 44px;
    line-height: 44px;
    background-color: white;
    div{
        .wh;
        text-align: center;
        p{
            margin: 0;
        }
    }
}
